deploy: Don't create deployment object before deploying
authorColin Walters <walters@verbum.org>
Tue, 1 Jul 2025 18:38:10 +0000 (14:38 -0400)
committerColin Walters <walters@verbum.org>
Tue, 1 Jul 2025 18:38:48 +0000 (14:38 -0400)
commit24d72a15115bb14c9dd29a129ce39f283d31ccef
treed4ad94f601a45620dc587fdf08bfd46ee5f030b5
parentba7a7ec84621ab03b983c47b6f3d23b3996b80e6
deploy: Don't create deployment object before deploying

Just pass the bits of the new deployment we want down into the
checkout function. This lets us reuse the common helper
to init a deployment which now always captures the device/inode.

Followup from previous commit.

Signed-off-by: Colin Walters <walters@verbum.org>
src/libostree/ostree-sysroot-deploy.c